<%@page import="java.text.SimpleDateFormat" %>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <base href="<%=basePath%>">
    <title></title>
</head>
<body>
<form action="uploadTestServlet" method="post" enctype="multipart/form-data">
文件<input type="file" name="file">
<br>
<input name="productName" value="test">
<br>x`
<input type="submit" value="上传">
</form>
<br>
</body>
</html>
